
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/lisence/lisence_apply_list`,
    method: 'post',
    data: query
  });
}
export function searchList() {
  return request({
    url: `/lisence/lisence_apply_search_list`,
    method: 'post',
  });
}
//
// export function saveData(form) {
//   return request({
//     url: '/nobility/add',
//     method: 'post',
//     data: form
//   });
// }

export function updateData(form) {
  return request({
    url: '/lisence/examine_result',
    method: 'post',
    data: form
  });
}
export function detailData(form) {
  return request({
    url: '/lisence/lisence_apply_detail',
    method: 'post',
    data: form
  });
}
//
// export function deleteData(query) {
//   return request({
//     url: '/nobility/del',
//     method: 'post',
//     data: query
//   });
// }

export function deleteData() {
  return Promise.reject(new Error('接口不可用 ！'))
}
